﻿<%@ Page Title="Gold Air - Summery" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Summery.aspx.vb" Inherits="GoldAir.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .tableCon
        {
            margin: 20px auto;
            width: 300px;
        }
        .tableCon th
        {
            text-align: right;
            width: 60%;
        }
        .tableCon td
        {
            
        }
        .textCon
        {
            color: #000;
            text-align: center;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p class="textCon"><strong>
        Flight Summery
    </strong></p>

        <%
          '  Generate table to create page
           ' Set lables to aquire data from VB to fill page
        
        
            ' For Each Item In Request.Form
            ' Response.Write(Item & ": " & Request.Form(Item) & "<br>")
            'Next
        
        %>

    <form id="Form1" action="Payment.aspx" method="post">
    <asp:Table ID="sumTable" runat="server" BorderStyle="Solid" 
        HorizontalAlign="Center" Height="263px" Width="342px" CellPadding="5">


        <asp:TableRow ID="TableRow7" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="Flight" Text = "Flight:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaFlight" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow ID="TableRow1" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="Name" Text = "Name:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaName" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow ID="TableRow2" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="Departure" Text = "Departure:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaDeparture" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow ID="TableRow5" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="DepartTime" Text = "Departure Time:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaDepartTime" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow ID="TableRow3" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="Destination" Text = "Destination:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaDestination" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow ID="TableRow6" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="ArriveTime" Text = "Landing Time:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaArriveTime" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow ID="TableRow4" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="Seat" Text = "Seat Number:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaSeat" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>

        <asp:TableRow ID="TableRow8" runat="server">
            <asp:TableHeaderCell>
                <asp:Label ID ="Cost" Text = "Price:" runat = "server"></asp:Label>
            </asp:TableHeaderCell>
            <asp:TableCell>
                <asp:Label ID ="dtaCost" Text = "" runat = "server"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    
    <input type="hidden" id="txtFlightNumber" runat= "server" />
    <input type="hidden" id="txtUserId" runat= "server" />
    <input type="hidden" id="txtCost" runat= "server" />

    </form>

    <asp:Button id="btnContinue" Text="Continue" runat="server" width="215px"/>
</asp:Content>
